import "./index.scss";
import { useEffect,useState } from "react";
const Shouye = ()=>{
    const [name,setName] =useState('')
    useEffect(()=>{
        setName(JSON.parse(sessionStorage.getItem('userInfo')).username)

    },[])
    return <div className="shou_bei">
        <p className="shou_p">欢迎{name}登录！</p>
    </div>
}
export default Shouye;